﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="companyInfo.aspx.cs" Inherits="PeisongWeb.companyInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>加入我们</title>
    <!--#include file="global.inc" -->

    <script type="text/javascript" src="/app_common/scripts/jquery-cn.js"></script>

    <script language="javascript" type="text/javascript" src="fromjs/register.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:headerV3 ID="headerV31" runat="server" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color2">注册选择</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="left">
                        <div class="loginimg">
                            <ul>
                                <li id="li_reg_1" class="red">1.注册类型</li>
                                <li id="li_reg_2">2.填写信息</li>
                                <li id="li_reg_3">3.注册成功</li>
                            </ul>
                        </div>
                        <div class="login" style="display: none" id="div_reg_2">
                            <div class="login_title">
                                <span>填写信息</span>
                            </div>
                            <div class="login_main">
                                <ul>
                                    <li>
                                        <label>
                                            企业类别：</label>
                                        <span id="lbl_type"></span>&nbsp;&nbsp;&nbsp;<a href="javascript:returnUpdate();" style="cursor:pointer">返回修改</a>
                                    </li>
                                    <li>
                                        <label>
                                            <span class="red">*</span>企业名称：
                                        </label>
                                        <input runat="server" id="txt_companyName" name="" type="text" maxlength="50" size="30" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_companyName"
                                            ErrorMessage="请输入企业名称" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </li>
                                    <li>
                                        <label>
                                            <span>*</span>地区：
                                        </label>
                                        <asp:DropDownList runat="server" ID="ddl_Area" DataTextField="name" DataValueField="xm">
                                        </asp:DropDownList>
                                    </li>
                                    <li>
                                        <label>
                                            <span>*</span>详细地址：</label>
                                        <asp:TextBox runat="server" ID="txt_Address" TextMode="MultiLine" MaxLength="200"
                                            Width="200px"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_Address"
                                            ErrorMessage="请输入企业详细地址" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </li>
                                    <li>
                                        <label>
                                            固定电话：</label>
                                        <input runat="server" id="txt_phone" name="" maxlength="20" type="text" />
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txt_phone"
                                            Display="Dynamic" ErrorMessage="请输入正确的电话号码" ValidationExpression="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$"></asp:RegularExpressionValidator>
                                    </li>
                                    <li>
                                        <label>
                                            传真号码：</label>
                                        <input runat="server" id="txt_fax" name="" type="text" maxlength="20" />
                                    </li>
                                    <li>
                                        <label>
                                            邮政编码：</label>
                                        <input runat="server" id="txt_postCode" name="" type="text" maxlength="6" />
                                    </li>
                                    <li runat="server" id="li_location" style="display: none">
                                        <label>
                                            摊位号：
                                        </label>
                                        <input runat="server" id="txt_location" name="" type="text" maxlength="200" />
                                    </li>
                                    <li id="li_eatPerson">
                                        <label>
                                            用餐人数：</label>
                                        <input type="text" name="userName_login" runat="server" id="txt_eatPerson" />
                                    </li>
                                    <li>
                                        <label>
                                            <span>*</span>联系人：</label>
                                        <input runat="server" id="txt_contact" name="" type="text" maxlength="20" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txt_Contact"
                                            ErrorMessage="请输入企业联系人" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </li>
                                    <li>
                                        <label>
                                            <span>*</span>联系人手机：</label>
                                        <input runat="server" id="txt_Mobile" name="" type="text" maxlength="11" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txt_Mobile"
                                            ErrorMessage="请输入联系人手机" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txt_Mobile"
                                            Display="Dynamic" ErrorMessage="请输入正确的手机号码" ValidationExpression="^(13[0-9]|15[0-9]|18[6|8|9])\d{8}$"></asp:RegularExpressionValidator>
                                    </li>
                                    <li>
                                        <label>
                                            Email：</label>
                                        <input runat="server" id="txt_Email" name="" type="text" maxlength="50" />
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_Email"
                                            Display="Dynamic" ErrorMessage="请输入有效的email地址" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                    </li>
                                </ul>
                                   <div style="padding-left:200px;padding-top:10px;">
                                   <asp:Button runat="server" ID="lbtn_Submit" Style="width: 90px;" CssClass="button_red_text button_red" OnClick="lbtn_reg_Click" Text="注册" />
                                </div>
                            </div>
                         
                        </div>
                        <div class="login" id="div_reg_1">
                            <div class="login_title">
                                <span>选择注册类型</span>
                            </div>
                            <div class="login_main">
                                <p>
                                    &nbsp;</p>
                                <ul class="login_msg">
                                    <li>
                                        <img alt="" src="/app_common/images/index-1.gif" />
                                        <a href="javascript:getType(2);">采购商注册由此进入</a> </li>
                                    <li>
                                        <img alt="" src="/app_common/images/index-1.gif" />
                                        <a href="javascript:getType(1);">供应商注册由此进入</a> </li>
                                </ul>
                                <p>
                                    &nbsp;</p>
                            </div>
                        </div>
                        <div class="login" id="div_reg_3" style="display: none">
                            <div class="login_title">
                                <span>注册完成</span>
                            </div>
                            <div class="login_main">
                                <p>
                                    &nbsp;</p>
                                <ul class="login_msg">
                                    <li>恭喜您</li>
                                    <li>您的帐户已创建！</li>
                                    <li>请等待服务人员跟您联系。</li>
                                </ul>
                                <p>
                                    &nbsp;</p>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <div class="right_login">
                            <ul>
                                <li>用户名： </li>
                                <li>
                                    <input runat="server" id="txt_userName" type="text"  style="width:212px;" name="userName_login" />
                                </li>
                                <li>密码： </li>
                                <li>
                                    <input runat="server" id="txt_pwd" type="password" style="width:212px;" name="userName_login" /></li>
                            </ul>
                        </div>
                        <div class="right_login_button">
                            <ul>
                                <li class="button_red">
                                    <asp:LinkButton runat="server" ID="lbtn_Login" CausesValidation="false" CssClass="button_red_text"
                                        OnClientClick="return checkForm();" OnClick="lbtn_Login_Click">登录</asp:LinkButton>
                                </li>
                                <li><a class="blue" href="login.html">直接返回首页</a></li>
                            </ul>
                        </div>
                        <div class="right_login">
                            <ul>
                                <li style="color: #255966">如何注册？</li>
                                <li>&nbsp;</li>
                                <li>采购商注册：</li>
                                <li>由采购商注册处进入进行注册，</li>
                                <li>填写相关信息。</li>
                                <li>供应商注册：</li>
                                <li>由供应商注册处进入进行注册，</li>
                                <li>填写相关信息。</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 ID="footerV21" runat="server" />
        <input type="hidden" runat="server" id="hd_type" />
        <input type="hidden" runat="server" id="hd_flow" value="1" />
    </div>
    </form>
</body>
</html>
